﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace XYX.Http.Mvc
{
    /// <summary>
    /// MVC处理
    /// </summary>
    public interface IHttpModule
    {
        /// <summary>
        /// 执行解析
        /// </summary>
        /// <param name="context"></param>
        /// <param name="rootPath"></param>
        /// <returns></returns>
        RouteData BeginInvoke(HttpListenerContext context, string rootPath);
    }
}
